import { ellipsisHorizontalOutline } from "ionicons/icons";
import { useHistory } from "react-router";
import Header from "@/components/Header/Header.tsx";

export default function HomeHeader() {
    const history = useHistory();

    return (
        <Header
            title="首页"
            endIcon={ellipsisHorizontalOutline}
            endIconClick={() => {
                history.push("/my");
            }}
        ></Header>
    );
}
